package com.youlu.campus.entity.commission.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author : [dengbo]
 * @className : DistributorGradeSaveDTO
 * @description : [分销等级保存]
 * @createTime : [2023/2/3 13:53]
 */
@Data
public class DistributorGradeSaveDTO {
    private String id;
    @NotBlank(message = "等级名称不能为空")
    private String name;
    @NotNull(message = "订单总金额不能为空")
    private Long totalMoney;
    @NotNull(message = "佣金提高比例不能为空")
    private Integer commissionRate;
}
